using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;
using sgsBase;
 
namespace gaClear
{
[Serializable] public class DbNymxProdTerm :  DbObject
{
  public DbNymxProdTerm() : base()
  {
      Table = "dbo.nymx_prod_terms";
      Database = "gagm_energy";
      Columns.AddColumn("prod_id", SqlDbType.VarChar, true, false);
      Columns.AddColumn("term", SqlDbType.VarChar, true, false);
      Columns.AddColumn("undly_id", SqlDbType.VarChar);
      Columns.AddColumn("undly_sectyp", SqlDbType.VarChar);
      Columns.AddColumn("undly_mmy", SqlDbType.VarChar);
  }
  
  #region Properties
  
      public String ProdId
      {
          get { return Columns.StringAt(0);}
          set { Columns.SetValAt(0, value);}
      }

      public String Term
      {
          get { return Columns.StringAt(1);}
          set { Columns.SetValAt(1, value);}
      }

      public String UndlyId
      {
          get { return Columns.StringAt(2);}
          set { Columns.SetValAt(2, value);}
      }

      public String UndlySectyp
      {
          get { return Columns.StringAt(3);}
          set { Columns.SetValAt(3, value);}
      }

      public String UndlyMmy
      {
          get { return Columns.StringAt(4);}
          set { Columns.SetValAt(4, value);}
      }

  
  #endregion
}
}
